using System;
using Ferpect.ComponentModel;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;

namespace $safeprojectname$
{
    public partial class ExitConfirmation : Screen
    {
        public ExitConfirmation()
        {
            InitializeComponent();
        }

        public override void Draw(GameTime gameTime)
        {
            base.Draw(gameTime);
        }

        private void menuSprite1_ItemActivated(object sender, EventArgs e)
        {
            if (this.menuSprite1.SelectedIndex == 0)
            {
                // continue game
                this.ScreenManager.Return();
            }
            else
            {
                // exit
                this.GameState.Exit();
            }
        }
    }
}
